

/**
 * 
 * 
 * API:
 * ---------------
 * getBPMObjectType()
 * fromXML(xmlNode)
 * 
 */
(function(global){
    'use strict';
    const logger = WorkflowUtil.newLogger("WorkflowApp/BPMEnd");

    let BPMEnd = function () {

        BPMEnd.__super__.constructor.apply(this, arguments);

        // 没有actor
        this.actor = null;
    };
    //继承
    WorkflowUtil.extend(BPMEnd, global.BPMStatus);
    
    
    BPMEnd.prototype.getBPMObjectType = function(){
        return WorkflowConstant.bpmObjType.BPMEnd;
    };
    
    
    /**
     * 解析xml
     * @param xmlNode
     */
    BPMEnd.prototype.fromXML = function(xmlNode){
        
        
      //解析节点属性
        this.transXMLNode2BPMObject(xmlNode);
        
        //调用父类节点解析
        BPMEnd.__super__.fromXML.apply(this, [xmlNode]);
    };
    
    global.BPMEnd = BPMEnd;
    
})(WorkflowApp);